package springcloud.service;

import org.springframework.stereotype.Component;
import springcloud.entity.Result;


@SuppressWarnings("all")
@Component
public class MemberFeignFallbackService implements MemberOpenFeignService{

    //在该方法内，快速返回熔断降级信息
    @Override
    public Result queryMemberById(Long id) {
        return Result.error("500", "被调用服务异常, 熔断降级, 快速返回结果,防止线程堆积..");
    }
}
